home *** CD-ROM | disk | FTP | other *** search
/ PC Welt 2001 September / PC-WELT 9-2001.ISO / software / hw / brennen / flask_src.exe / Input / IFOParser / misc.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-05-06  |  563 b   |  25 lines

  1. #ifndef __MISC_H__
  2. #define __MISC_H__
  3.  
  4. #include "byteswap.h"
  5. #include <sys/types.h>
  6. #include "ifo.h"
  7.  
  8. #define OFFSET_IFO        0x0000
  9. #define OFFSET_VTS        0x0000
  10. #define OFFSET_LEN        0x00C0
  11. #define IFO_OFFSET_TAT        0x00C0
  12. #define OFFSET_VTSI_MAT        0x0080
  13. #define IFO_OFFSET_VIDEO    0x0100
  14. #define IFO_OFFSET_AUDIO    0x0200
  15. #define IFO_OFFSET_SUBPIC    0x0250
  16.  
  17.  
  18. u_int get4bytes (u_char *buf);
  19. u_int get2bytes (u_char *buf);
  20.  
  21. int ifoReadTBL (ifo_t *ifo, u_int offset, u_int tbl_id);
  22. int ifoReadLB (int fd, __off64_t pos, u_int count, u_char *data);
  23.  
  24. #endif
  25.